<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML lang="en">
<HEAD>
 <LINK rel="StyleSheet" href="../BBWin.css">
 <TITLE>Memory</TITLE>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <meta name="copyright" content="Copyright &copy; 2006 by Etienne Grignon. Licenced under GPL.">
</HEAD>
<BODY>
 <H1>Memory</H1>
 <H3>Description</H3>
<p>
Memory agent is used to monitor RAM. 
</p>
<H3>Configuration</H3>
<UL>
 <LI class="OptionDirective"><b>setting</b> directive syntax :
<p>
<pre class="Config">
&lt;setting name="" value="" /&gt;
</pre>
<LI class="OptionDirective">generic settings
<p>
<table class="OptionTable" cellSpacing="0" cellPadding="0" border="1" id="table1">
	<tr>
		<td class="OptionTitle" vAlign="top" >
		name
		</td>
		<td class="OptionTitle">
		value
		</td>
	</tr>
	<tr>
		<td class="OptionValue" vAlign="top" >
		alwaysgreen
		</td>
		<td class="OptionValue" vAlign="top">
		Possible values are "true" or "false". If true, it will always send green status.
		<b>Default is false</b>.
		</td>
	</tr>
	<tr>
		<td class="OptionValue" vAlign="top" >
		testname
		</td>
		<td class="OptionValue" vAlign="top">
		You can set the testname that will be sent to the monitoring server (column name in
		the bbdisplay)
		<b>Default is "memory"</b></td>
	</tr>
</table>
 <LI class="OptionDirective"><b>rules</b> directive syntax :
<p>
<pre class="Config">
&lt;setting name="" warnlevel="" paniclevel=""/&gt;
</pre>
<p>
If the name value is not one of the generic settings, then, memory will understand that it is a memory custom rule.
To create a custom memory rule, you may use one of the available memory type in the name attribute.
</p>
<p>
<table class="OptionTable" cellSpacing="0" cellPadding="0" border="1" id="table2">
	<tr>
		<td class="OptionTitle" vAlign="top" >
		name
		</td>
		<td class="OptionValue" vAlign="top">
		name attribute should be the name of the memory type you want to monitor.
		Possible memory types are 'real', 'physical', 'page' and 'virtual'.
		<br>
		<p><b>Default settings</b> are : 
		Default physical warning 100%<br>
		Default physical panic 101%<br>
		Default page warning 80%<br>
		Default page panic 90%<br>
		Default virtual warning 90%<br>
		Default virtual panic 99%<br>
		Default real memory warning 101%<br>
		Default real memory panic 105%<br>
		</p></td>
	</tr>
	<tr>
		<td class="OptionTitle" vAlign="top" >
		warnlevel
		</td>
		<td class="OptionValue" vAlign="top">
		It must be a numeric value. It will warn yellow if the value is reached.
		</td>
	</tr>
	<tr>
		<td class="OptionTitle" vAlign="top" >
		paniclevel
		</td>
		<td class="OptionValue" vAlign="top">
		It must be a numeric value. It will warn red if the value is reached.
		</td>
	</tr>
</table>
</UL>
<H3>Examples</H3>
<UL>
 <LI>
<p>
<pre class="Config">
&lt;memory&gt;
	&lt;setting name="alwaysgreen" value="false" /&gt;
	&lt;setting name="physical" warnlevel="78" paniclevel="98" /&gt;
	&lt;setting name="page" warnlevel="70" paniclevel="90" /&gt;
	&lt;setting name="virtual" warnlevel="78" paniclevel="90" /&gt;
	&lt;setting name="real" warnlevel="80" paniclevel="95" /&gt;
&lt;/memory&gt;
</pre>
</UL>
<H3>Notes</H3>
<UL>
 <LI>You may only configure memory rules to override the default settings.
 <LI>Real memory indicator is a calculed value from the used page divided by the total physical memory. This value is known to be the best
 way to monitor the memory on a Windows NT system.
</UL>
</BODY>
</HTML>
